package com.xjm.ips.mapper;

import com.xjm.ips.entity.Salary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SalaryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Salary record);

    int insertSelective(Salary record);

    Salary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Salary record);

    int updateByPrimaryKey(Salary record);

    List<Salary> getAllSalaries(@Param("pageNo") Integer pageNo, @Param("pageSize") Integer pageSize);

    Long getTotal();

    Integer bitchDeleteSalarySob(@Param("ids") Integer[] ids);
}